#ifndef _W_reg_w_H
#define _W_reg_w_H
/*
 *  cpu_gui/w_regw.h
 *  
 *              CPU Monitor 
 *
 *    Spring Semester.  044800.    Technion.
 *   Copyright (C) 2006  Evgeny Shulman  and Elizabeth Shtrom 
 */


#include <QtGui/QGroupBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QLabel>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <QWidget>
#include <QString>

 class RegWin : public QWidget
 {
     Q_OBJECT

 public:
    RegWin(const QString &str,const int &_size, QWidget *parent = 0);
    ~RegWin();
    int set_regs (int row, const QString &name,const QString &value);
    int set_regs (int row, const QString &name,unsigned long value);
	int set_ex_regs ( unsigned long eax,
  	      unsigned long ebx,
  	      unsigned long ecx,
  	      unsigned long edx ) ;	
	
  	QLabel **regLabel ,**regValueLabel ;
  	int current, size;
 }; 
   

#endif
    
    
    
